package com.cnebula.common.hadoop.oozie.client;

import java.util.ArrayList;
import java.util.List;

import com.cnebula.common.annotations.xml.CollectionStyleType;
import com.cnebula.common.annotations.xml.FieldStyleType;
import com.cnebula.common.annotations.xml.XMLMapping;

@XMLMapping(tag = "configuration")
public class Configuration {
	private List<Property> properties = new ArrayList<Property>();

	@XMLMapping(childTag = "property", collectionStyle = CollectionStyleType.FLAT, fieldStyle = FieldStyleType.TEXT)
	public List<Property> getProperties() {
		return properties;
	}

	public void setProperties(List<Property> properties) {
		this.properties = properties;
	}
}
